Revert "GtkEntryCompletion: call cell_area()->clear()"
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Mar 2014 10:50:47 +0000 (05:50 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Mar 2014 11:03:19 +0000 (06:03 -0500)
This reverts commit 3c2829713463228094d66170564a4d6d7c31c245.

gtk/gtkentrycompletion.c

index 7b22ecd8f16f24fd71cd261823ca95b48040955f..c81924a4beb5e5c2243c8881600e64d40641bc95 100644 (file)
@@ -830,11 +830,7 @@ gtk_entry_completion_clear_text_column_renderer (GtkEntryCompletion *completion)
 {
   if (completion->priv->text_column != -1)
     {
-      GtkCellArea *area;
-
-      area = gtk_entry_completion_get_area (GTK_CELL_LAYOUT (completion));
-      gtk_cell_layout_clear (area);
-
+      gtk_cell_layout_clear (GTK_CELL_LAYOUT (completion));
       completion->priv->text_column = -1;
       g_object_notify (G_OBJECT (completion), "text_column");
     }